package com.stylefeng.guns.modular.customer.dao;

import com.stylefeng.guns.core.node.ZTreeNode;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface AreaDao {

    List<Map<String,Object>> list(@Param("condition") String condition);

    List<ZTreeNode> tree();

    String selectNameById(@Param("id") Integer id);

    Integer selectIdByName(@Param("name") String name);
}
